#!/usr/bin/env python
# -*- coding: utf-8 -*-
from socket import socket
sk = socket()
sk.connect(('127.0.0.1', 9000))
sk.send('hello'.encode('utf-8'))
msg = sk.recv(1024).decode('utf-8')
print(msg)
sk.close()